﻿Imports System.Data.OleDb

Public Class ImportExportDAO
    Public Function ImportExportStock_Report(ByVal FirstStartDate As Date, _
                                             ByVal FirstEndDate As Date, _
                                             ByVal LastStartDate As Date, _
                                             ByVal LastEndDate As Date) As Boolean
        Dim para(3) As OleDbParameter

        para(0) = New OleDbParameter("@FirstStartDate", FirstStartDate)
        para(0).OleDbType = OleDbType.Date

        para(1) = New OleDbParameter("@FirstEndDate", FirstEndDate)
        para(1).OleDbType = OleDbType.Date

        para(2) = New OleDbParameter("@LastStartDate", LastStartDate)
        para(2).OleDbType = OleDbType.Date

        para(3) = New OleDbParameter("@LastEndDate", LastEndDate)
        para(3).OleDbType = OleDbType.Date

        Return objConnectionDAO.ExecuteStoreprocedureNoneReturn("spTDT_ImportExportStock_Report", para)
    End Function
End Class
